package com.ezandroid.module.network.request;

import com.ezandroid.library.network.http.request.RequestException;
import com.ezandroid.module.network.response.HttpResponse;

/**
 * 简单的String类型请求，默认已实现回调方法.
 *
 * @author markmjw
 * @date 2014-12-23
 */
public class HttpSimpleRequestImpl extends HttpSimpleRequest {

    public HttpSimpleRequestImpl(String url) {
        super(url);
    }

    public HttpSimpleRequestImpl(String url, String nodeName) {
        super(url, nodeName);
    }

    public HttpSimpleRequestImpl(int method, String url, String nodeName) {
        super(method, url, nodeName);
    }

    @Override
    protected void onSuccess(HttpResponse<String> response) {
    }

    @Override
    protected void onError(RequestException error) {
    }
}
